package com.example.comsys.dao;

import com.example.comsys.dataobject.DepartmentDO;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentDAO {

  int deleteByPrimaryKey(Long departId);

  int insert(DepartmentDO record);

  DepartmentDO selectByPrimaryKey(Long departId);

  List<DepartmentDO> selectByPrimaryKeys(@Param("departIds") List<Long> departIds);


  List<DepartmentDO> selectAll();

  int updateByPrimaryKey(DepartmentDO record);
}